<%-- 
    Document   : calculette
    Created on : 28 févr. 2012, 11:30:58
    Author     : Danicela
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Ma calculette</h1>
    <s:form namespace="/calculette" action="calculer">
        <s:textfield name="op1" />
        +
        <s:textfield name="op2"/>
        <s:submit value="="/>
        <s:textfield name="result"/>
    </s:form>
</body>
</html>
